package com.drugStorage.spring.service;

import java.util.List;

import com.drugStorage.domain.BuyList;
import com.drugStorage.domain.BuyPlan;

public interface BuyPlanService {
	
	public void saveBuyPlan(BuyPlan buyPlan);
	
	public void delBuyPlan(BuyPlan buyPlan);
	
	public void updateBuyPlan(BuyPlan buyPlan);
	
	public void AddBuyListToBuyPlan(int BuyPlanid,BuyList buyList);
	
	public void CheckBuyPlan(BuyPlan buyPlan);
	
	public BuyPlan getBuyPlan(int Bid);
	
	public List<BuyPlan> getAllPlans();
	
	public List<BuyList> getAllListByPlanId(int buyPlanid);
	
	public List<BuyPlan> getPlanNotChecked(int checked);

}
